phone = input("请输入手机号：").strip()
pwd = input("请输入密码：").strip()
code = input("请输入验证码：").strip()

# 判断是否为空
if phone == "":
    print("手机号为空")
elif pwd == "":
    print("密码为空")
elif code == "":
    print("验证码为空")

# 判断手机号格式是否正确
if len(phone) != 11 or phone[0] != "1" or phone[1] == "1" or phone[1] == "2" or phone[1] == "0":
    print("手机号格式不正确")
else:
    print("手机号格式正确")

# 判断手机号，密码，验证码是否正确
if phone == "13488888888":
    print("手机号正确")
    if pwd == "123456":
        print("密码正确")
        if code.lower() == "8888":
            print("登录成功")
        else:
            print("验证码不正确")
    else:
        print("密码不正确")
else:
    print("手机号不正确")
